//package com.mtl.sort.controller;
//
//import com.mtl.common.tool.api.R;
//import com.mtl.common.tool.model.Page;
//import com.mtl.sort.domain.Sort;
//import com.mtl.sort.service.ISortService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("/article")
//@Api(value = "文章分类", tags = "文章分类接口")
//public class SortFront {
//    @Autowired
//    private ISortService sortService;
//    /**
//     * 分页 文章分类
//     */
//    @GetMapping("/page")
//    @ApiOperation(value = "分页", notes = "传入sort", position = 2)
//    public R<Page<Sort>> page(Integer page, Integer size, String search) {
//        Page<Sort> pages = sortService.findPage(page,size,search);
//        return R.data(pages);
//    }
//}
